package com.bysj.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约管理对象 bysj_appointment
 * 
 * @author bysj
 * @date 2024-02-03
 */
public class Appointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约记录编号 */
    @Excel(name = "预约记录编号")
    private Long id;

    /** 预约房源编号 */
    @Excel(name = "预约房源编号")
    private Long houseId;

    /** 预约人姓名 */
    @Excel(name = "预约人姓名")
    private String applicantName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 预约人电话 */
    @Excel(name = "预约人电话")
    private String applicantPhone;

    /** 预约人邮箱 */
    @Excel(name = "预约人邮箱")
    private String applicantEmail;

    /** 带领人姓名 */
    @Excel(name = "带领人姓名")
    private String leadName;

    /** 代领人手机 */
    @Excel(name = "代领人手机")
    private String proxyPhone;

    /** 填报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submissionTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setApplicantName(String applicantName) 
    {
        this.applicantName = applicantName;
    }

    public String getApplicantName() 
    {
        return applicantName;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setApplicantPhone(String applicantPhone) 
    {
        this.applicantPhone = applicantPhone;
    }

    public String getApplicantPhone() 
    {
        return applicantPhone;
    }
    public void setApplicantEmail(String applicantEmail) 
    {
        this.applicantEmail = applicantEmail;
    }

    public String getApplicantEmail() 
    {
        return applicantEmail;
    }
    public void setLeadName(String leadName) 
    {
        this.leadName = leadName;
    }

    public String getLeadName() 
    {
        return leadName;
    }
    public void setProxyPhone(String proxyPhone) 
    {
        this.proxyPhone = proxyPhone;
    }

    public String getProxyPhone() 
    {
        return proxyPhone;
    }
    public void setSubmissionTime(Date submissionTime) 
    {
        this.submissionTime = submissionTime;
    }

    public Date getSubmissionTime() 
    {
        return submissionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseId", getHouseId())
            .append("applicantName", getApplicantName())
            .append("appointmentTime", getAppointmentTime())
            .append("applicantPhone", getApplicantPhone())
            .append("applicantEmail", getApplicantEmail())
            .append("leadName", getLeadName())
            .append("proxyPhone", getProxyPhone())
            .append("submissionTime", getSubmissionTime())
            .toString();
    }
}
